<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ include file="/WEB-INF/jspf/taglibs.jspf" %>
<div class="row">
    <div class="col-lg-12">
        <h2 class="page-header">基本资料</h2>
    </div>
</div>
<div class="row">
    <div class="col-lg-8 ">
        <table class="table table-bordered table-hover table-striped">
            <tbody>
            <tr>
                <td width="30%">登录账号</td>
                <td>${form.user.loginName}</td>
            </tr>
            <tr>
                <td width="30%">真实姓名</td>
                <td>${form.user.realName }</td>
            </tr>
            <tr>
                <td width="30%">证件号码</td>
                <td>${form.user.maskedIdentityCard }
                    <c:if test="${form.user.roleId !=0 }"> <span
                            style="color: #ff0000"> &nbsp;(已通过实名认证)&nbsp;</span> </c:if>
                </td>
            </tr>
            <tr>
                <td width="30%">所在地区</td>
                <td>${form.user.provinceDisplay } &nbsp; ${form.user.cityDisplay }
                    &nbsp; ${form.user.areaDisplay } </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <h2 class="page-header">联系方式</h2>
    </div>
</div>
<div class="row">
    <div class="col-lg-8">
        <table class="table table-bordered table-hover table-striped">
            <tbody>
            <tr>
                <td width="30%">手机号码</td>
                <td>${form.user.phoneNum}</td>
            </tr>
            <tr>
                <td width="30%">E-mail</td>
                <td>${form.user.email }</td>
            </tr>
            <tr>
                <td width="30%">qq号码</td>
                <td>${form.user.qq }</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <h2 class="page-header">公司资料</h2>
    </div>
</div>
<div class="row">
    <div class="col-lg-8">
        <table class="table table-bordered table-hover table-striped">
            <tbody>
            <tr>
                <td width="30%">公司地址</td>
                <td>${form.user.companyAddress}</td>
            </tr>
            <tr>
                <td width="30%">公司网站</td>
                <td>${form.user.companyWebsite }</td>
            </tr>
            <tr>
                <td width="30%">备案号</td>
                <td>${form.user.companyIcp }</td>
            </tr>
            <tr>
                <td width="30%">公司介绍</td>
                <td>${form.user.companyDesc }</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<div class="row">
    <div class="col-lg-8">
        <a href="/profile/edit" class="btn btn-primary btn-lg btn-block">修改</a>
    </div>
</div>
